//
//  ZNPhotoView.h
//  ZNPhotoView
//
//  Created by zhengn on 16/2/29.
//  Copyright © 2016年 Sniper_Personal. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,ZNPageControlAlignment){
    ZNPageControlLeft,   // 居左
    ZNPageControlCenter, // 居中
    ZNPageControlRight,  // 居右
};

@interface ZNPhotoView : UIScrollView

/** 图片名称数组 */
@property (nonatomic, strong)NSArray *imgNameArr;
/** 页码颜色 */
@property (nonatomic, strong)UIColor *otherPageColor;
/** 选中页码颜色 */
@property (nonatomic, strong)UIColor *currentPageColor;
/** 最大放大倍数(不需要缩放就不要设置) */
@property (nonatomic, assign)CGFloat maxScale;
/** 最小缩小倍数(不需要缩放就不要设置) */
@property (nonatomic, assign)CGFloat minScale;
#warning 暂时不好用
/** pageControl位置 */
@property (nonatomic, assign)ZNPageControlAlignment pageControlAlignment;
#warning 暂时不好用

/** 构造方法 */
+ (instancetype)photoViewWithFrame:(CGRect)frame
                        imgArrName:(NSArray *)imgArrName;

@end
